Memory configuration of a composite memory device

ABSTRACT

The present invention is related to a composite flash memory device comprises a plural sector flash memory array which is divided to plural sector that is a minimum erasing unit of the flash memory device, a flash memory array storing control commands which control a total system of the composite flash memory device and/or the only composite flash memory device in and sharing I/O line of the plural sector flash memory array, the read operation of the flash memory array is enable when the plural sector flash memory array is gained access.

FIELD OF THE INVENTION

[0001] This invention is generally related to a memory device of a whole category of electronic equipment aboard a computerized personal organizer, a handset, a voice Precognition device, a voice memory device, and a computer etc. and more particularly related to a composite memory system of a flash memory device.

BACKGROUND OF THE INVENTION

[0002] There are many kind of memory devices, for example, mask ROM, erasable programmable read-only memory (EPROM), flash memory and so on. The mask ROM is sintered information data of control command etc in accordance with specifications of users with a production process. Therefore, the mask ROM is unable to rewrite the sintered information data after production. The EPROM is capable of erasing information data by irradiation with ultraviolet lights. However, the EPROM is also unable to electrically erase and rewrite the information data. Therefore, the flash memory device is receiving attention as one of a memory device among the electronic industry. Because of this, the flash memory device is becoming prevalent as an alternative memory device of the mask ROM and the EPROM.

[0003] As an electrically erasable memory device, there is an electrically erasable programmable read only memory (EEPROM). Erase operation of the conventional EEPROM is generally based upon one bit unit. On the other hand, erase operation of the flash memory is based upon block unit. Therefore, by the adoption of an erasing by block unit or being one unit of 1 bit, the flash memory device is paid attention as the next generation alternative memory of dynamic random access memory (DRAM) that the integration of the flash memory is far in excess of one of the DRAM market.

[0004] Furthermore, the flash memory has obtained a great support from user because of advantages that flash memory is capable of rewriting the data under on board and of being debugged until just before shipment.

[0005] Referring to FIG. 1, one of conventional prior arts in a memory system includes a flash memory such a single memory array 2. The memory array 2 has 4 M bits and is divided into plural sector. When the data in the memory element is distinguished under the control of CPU (not shown), the data is sequentially erased with sector unit from the first sector in the memory array 2 or with sector unit from selected sectors.

[0006] Address signal A0-A18 are applied an X decoder 6 and an Y decoder 8 with via an address latch 4. The X decoder 6 selects word line in the memory array 2. And also the Y decoder 8 selects bit line in the memory array 2 via an Y gate/sensing amplifier 10.

[0007] Programming voltage generator 14 generates a programming voltage for writing data in the memory device 2. Erase voltage generator 16 generates an erase voltage for erasing data in the memory device 2. The programming voltage generator 14 and the erase voltage generator 16 output the programming voltage and the erase voltage into the X decoder 6, the Y decoder 8, and the memory array 2 each other.

[0008] An input/output buffer 20 and a data latch 18 are employed for input or output of data. A timer 22 and a system control register 24 are also employed in this system. The system control register 24 input a write enable signal (/WE), an output enable signal (/OE), a chip enable signal (/CE) and voltage supply, Vcc, GND as control signals. The /WE signal is a start signal of the writing operation of the memory array 2. The /OE signal is a start signal of the reading operation of the memory array 2. Further, the /CE signal is a select signal whether the device 1 is selected or the other device is selected.

[0009] As for a flash memory, writing operation and erasing operation requires long time in comparison with reading operation. Therefore, a memory device is ideal if the CPU or the other controllers are capable of carrying out the reading operation of the data in the memory array 2 when the other area of the memory array 2 is written or erased under aboard a circuit board.

[0010] However, the memory device 1 as shown FIG. 1 can not carry out above mentioned parallel processing.

[0011] The 4 M bits capacity's flash memory 2 is formerly used. For example, when the above standard capacity's flash memory 2 is installed as a memory array and the size of software is bigger, the memory array 2 becomes lacking in memory capacity. Therefore, if the large size software is employed, the memory device needs to install a flash memory of the larger capacity. However, it is connected to a cost up to install the memory of the needlessly large capacity.

[0012] Thereupon, it is conceivable to employ the plural device as shown FIG. 1 in order to solve the above problem. Still furthermore, in this case, space savings is not able to be materialized, beside a cost goes up by setting up the same plural memory device.

[0013] A concurrent flash memory system such as disclosed in a specification of AT29C432 made of ATMEL Company. The contents of this reference being incorporated herein by reference. The above concurrent flash memory employs the two different type memories that are EEPROM and flash memory in a single device. The concurrent flash memory system of the ATMEL is capable of reading the data of the EEPROM while writing operation of the flash memory in one device.

[0014] However, the present inventor identified that the system of ATMEL requires the long time erasing the data on the memory device. Because the EEPROM employed by the system of ATMEL is possible only the writing and also erasing with one bit unit. Accordingly, one sector of the flash memory is 8K byte unit and EEPROM of ATMEL unable to store comparatively large data such as a voice data to one sector. The EEPROM requires comparatively long time to erasing operation when the large size data such as voice etc. is stored and located in astride to plural sector-of the flash memory.

[0015] Furthermore, the present inventor also identified that conventional erasing operation of the data on a memory requires long time in order to erase by the sector unit. The conventional erasing operation is a single sector erasing mode and a plural sector erasing mode. Although the plural sector erasing mode can erase some number of sectors on the flash memory, the selected plural sector is erased to each sector in turn.

[0016] Although the flash memory has a batch erasing mode, the batch erasing mode has erased to the data that does not want to erase.

SUMMARY OF THE INVENTION

[0017] To solve the above and other problems, according to one aspect of the present invention, A composite flash memory device includes a plural sector flash memory array which is divided to plural sector that is a minimum erasing unit of the flash memory device, a flash memory array storing control commands which control a total system of the composite flash memory device and/or the only composite flash memory device in and sharing I/O line of the plural sector flash memory array, the read operation of the flash memory array is enable when the plural sector flash memory array is gained access.

[0018] According to another aspect of the present invention, a composite flash memory device according to claim 1, further includes a selector selecting an single sector erasing mode which the sectors of the flash memory device are erased by a sector unit and a simultaneously plural sector erasing mode that simultaneously erases the sectors of a regular range in the plural sector flash memory device.

BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Other aspects and further features of the present invention will become apparent from the following detailed description when read in conjunction with the accompanying drawings, wherein:

[0020]FIG. 1 is a block diagram of the conventional memory system that has a single memory device according to the prior art;

[0021]FIG. 2 is a block diagram of the composite memory device according to the present invention;

[0022]FIG. 3 is a structure of the flash memory according to the present invention;

[0023]FIG. 4 is a block diagram for the selection whether the single sector erasing mode which a single sector is erased or the plural sector erasing mode which the plural sector are erased of the selector of the composite memory device according to the present invention;

[0024]FIG. 5 is a conceptional block diagram of the relation between the control signal block and the data block according to the present invention; and

[0025]FIG. 6 is a conceptional block diagram of the relation between the control signal block and the data block which both blocks are located in same memory area according to the present invention.

DESCRIPTION OF THE PREFERRED EMBODIMENT

[0026] A description will now be given of preferred embodiments according to the present invention.

[0027] Referring now to the drawings, wherein like reference numerals designate corresponding structure throughout the views, and referring in particular to FIG. 2, one preferred embodiment of the composite flash memory device 100 according to the present invention includes two flash memory arrays 12A and 12B which has different number of sector each other. The flash memory array 12A is for storing control programs by which a CPU (not shown) controls the total system. The flash memory array 12A is not divided into plural sector, therefore has single sector of 4M bits.

[0028] On the other hand, the flash memory array 12B is for storing data such as image and voice etc and is divided into 2560 sectors, each sector comprised of 128 bytes. Here, the each sector is the minimum unit of the data erasing. The address where was input from the outside is input to an X decoder 8 and also an Y decoder 6 via an address latch 4. As they mentioned above, the X decoder 6 and the Y decoder 8 select the word line and also the data line between the flash memory 12A and the flash memory 12B on the basis of the input address. An access of the flash memory 12A and 12B is selectable by switching between a program flash enable (/PFE) signal and a data flash enable (/DFE) signal. The /PFE signal enables the access to a flash memory 12A. The /DFE signal enables the access to a flash memory 12B. Y gate/sensing amplifier 10A and 10B is provided to sense and select the bit line in the both flash memories 12A and 12B each other. The Y gate/sensing amplifier 10A and 10B are connected to the same input/output buffer 20 via data latch 18A and 18B each other.

[0029] A programming voltage generator 14 supplies program voltages into the X decoder 6, the Y decoder 8 and the flash memories 12A and 12B during programming operation. Similarly, an erase voltage generator 16 supplies erasing voltages into the X decoder 6, the Y decoder 8 and the flash memory 12A and 12B during erasing operation.

[0030] In this embodiment, an explanation of the /WE signal and the /OE signal omits because the above signals are same as the above-related art. But, the present embodiment employs the /PFE signal and the /DFE signal such as alternate the chip enable signal (/CE).

[0031] An output control circuit 30 generates a ready signal (RY) or a busy signal (BY) and output them to host system (not shown). The RY signal and the BY signal show whether during an automatic algorithm execution or not.

[0032] the X decoder 6 and the Y decoder 8 are provided with each flash memory 12A and 12B each other in order to be gotten access to.

[0033] When the CPU order the writing operation, the writing algorithm is automatically carried out. When the CPU order the erasing operation, the CPU designates the composite flash memory device 100 whether one sector or certain range of sectors in the flash memory array 12B. The ordered flash memory device 100 automatically carries out the erasing operation on the basis of the erasing mode whether single sector or certain ranges of the sectors in the flash memory array 12B. When plural sector erasing mode is selected, the selected first sector of the ranges is erased at first and then the next sector is sequentially erased until the selected final sector by the automatic erasing algorithm.

[0034] The selection between the /DFE signal and the /PFE signal is capable of getting access to the flash memory array 12A which stores the program software during the writing or the erasing operation starts when the data flash memory array 12B is selected by the DFE signal.

[0035] Accordingly, the reading access to the data of the flash memory array 12A becomes enable when the data of the flash memory array 12B is erased or written.

[0036] Now referring to the FIG. 3, the flash memory array 12B is of the structure which has plural block made up of 64 sectors each, each sector comprises of 128 bytes. Therefore, the one block of the flash memory array 12B is total 8K bytes.

[0037] In this embodiment, the composite flash memory device 100 is capable of erasing the only one sector comprised of 128-byte unit, also erasing one block comprised of BK byte unit (64 sectors) and furthermore, erasing certain range of plural 8K byte unit.

[0038] In the case that the composite flash memory device 100 erases the certain range of the sectors, or the block, the selected first sector of the range is erased at first and the next sector is sequentially erased along the sector order.

[0039] Now referring to FIG. 4, a selector circuit 39 is located in the composite flash memory device 100 and can select two erasing modes. One mode is a single erasing mode that selected only one sector of the flash memory 12B is erased. The other mode is a block unit erasing mode that the selected single block or plural block corresponding to the selected range of the flash memory 12B is erased.

[0040] The block unit 40 is total 8K byte comprised of 64 sectors as shown from 42-1 to 42-64. Each sector from 42-1 to 42-64 is connected to a MOS transistor in order to apply erasing voltage Verase to the memory device of the each sector. Gate electrode of the each MOS transistor from 44-1 to 44-64 is connected to NOR circuit and OR circuit from 46-1 to 46-64. Sector select signal and block select signal are applied to the gate electrode of the each MOS transistor from 44-1 to 44-64 via the NOR circuit and OR circuit from 46-1 to 46-64.

[0041] When the block unit-erasing mode is selected; the corresponding command is applied to a state machine 52 by way of a command register 50. Sequentially, the command is applied to the registers 54 corresponding to single or plural block of the selected range from first block to end block and is stored in registers 54 of each block. When the command is applied to the registers 54 corresponding to the selected range, a counter 56 sequentially designates the blocks. The block select signal is applied to the each block via the NOR circuit and OR circuit from 46-1 to 46-64. Finally, when the certain selected blocks receive the block select signal, block unit with the turn that received the signal carries out the erasing operation. If the single block is selected, the erasing operation of a single block unit is also possible.

[0042] When the sector unit-erasing mode is selected, the corresponding command is applied to the state machine 52 by way of the command register 50. Sequentially, the command is applied to the registers 54 of the selected block and is stored in registers 54. When the command is applied to the registers 54, the counter 56 designates the block. The sector unit signal is applied to the block via the NOR circuit and the OR circuit from 46-1 to 46-64. Finally, when the selected block receive the sector unit signal, the erasing operation is carried out. If the plural sector in the above block is selected, the erasing operation of plural sector is also possible.

[0043] Now referring to FIG. 5, as for the capacity between the flash memory 12A and the flash memory 12B, various combinations are conceivable by the usage of the user. The resent invention is capable of employing various combination of the capacity between the above flash memories.

[0044] Referring to FIG. 5(A), the flash memory 12A which is divided into 5 sectors is 2.5 M bytes and the flash memory 12B is divided into 3 sectors is 1.5 M bytes. The total capacity of the memory is 4-M bytes. The flash memory 12A employs a range of address from 00 to 4FFFF of the address space for storing programming software. On the other hand, the flash memory 12B employs a range of address from 00 to 2FFFF for storing data.

[0045] Referring to FIG. 5(B), the flash memory 12A which is divided into 8 sectors is 4 M bytes and the flash memory 12B is divided into 5 sectors is 2.5 M bytes. The total capacity of the memory is 6.5-M bytes. The flash memory 12A employs a range of address from 00 to 7FFFF of the address space for storing programming software. On the other hand, the flash memory 12B employs a range of address from 00 to 4FFFF for storing data.

[0046] Referring to FIG. 5(C), the flash memory 12A which is divided into 14 sectors is 7 M bytes and the flash memory 12B is divided into 6 sectors is 3 M bytes. The total capacity of the memory is 10-M bytes. The flash memory 12A employs a range of address from 00 to DFFFF of the address space for storing programming software. On the other hand, the flash memory 12B employs a range of address from 00 to 5FFFF for storing data.

[0047] The present invention is capable of employing various combination of the capacity of the flash memories 12A and 12B.

[0048] Referring to FIG. 6, the present invention is capable of employing divided capacity areas of a flash memory as alternation of the flash memories 12A and 12B.

[0049] The single flash memory is divided into a program store area and a data store area. The program store area and the data store area are allocated to deferent range of the address in the single flash memory.

[0050] The exchange of between the program store area and the data store area is carried out by the /PFE signal and /DFE signal as same as the above embodiment.

[0051] It is to be understood, however, that even though numerous characteristics and advantages of the present invention have been set forth in the foregoing description, together with details of the structure and function of the invention, the disclosure is illustrative only, and changes may be made in detail, especially in matters of shape, size and arrangement of parts, as well as implementation in software, hardware, or a combination of both within the principles of the invention to the full extent indicated by 10 the broad general meaning of the terms in which the appended claims are expressed.

[0052] The present document incorporates by reference the entire contents of Japanese priority document, 09-149975 filed in Japan on May 23, 1997. 

What is claimed is:
 1. A composite flash memory device comprises; a plural sector flash memory array which is divided to plural sector that is a minimum erasing unit of the flash memory device; a flash memory array storing control commands which control a total system of the composite flash memory device and/or the only composite flash memory device in and sharing I/O line of said plural sector flash memory array; the read operation of said flash memory array is enable when the plural sector flash memory array is gained access.
 2. A composite flash memory device according to claim 1, wherein said flash memory device has one sector.
 3. A composite flash memory device according to claim 1, further comprises; a selector selecting an single sector erasing mode which the sectors of the flash memory device are erased by a sector unit and a simultaneously plural sector erasing mode that simultaneously erases the sectors of a regular range in the plural sector flash memory device.
 4. A composite flash memory device comprises; a plural sector flash memory means for storing data which is divided to plural sector that is a minimum erasing unit of the flash memory device; a flash memory means for storing control commands which control a total system of the composite configuration memory device and/or the only composite configuration memory device in; the read operation of said flash memory means is enable when the plural sector flash memory means is gained access.
 5. A composite flash memory device according to claim 4, wherein said flash memory means has one sector.
 6. A composite flash memory device according to claim 4, further comprises; a selector means for selecting an single sector erasing mode which the sectors of said flash memory means is erased by a sector unit and a simultaneously plural sector erasing mode that simultaneously erases the some sectors of in the plural sector flash memory means. 